package com.sniff.atp.modules.test.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author macro
 * @since 2023-10-12
 */
@Getter
@Setter
@TableName("publish_plan")
@ApiModel(value = "PublishPlan对象", description = "")
public class PublishPlan implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("自增")
    @TableId(value = "publish_plan_id", type = IdType.AUTO)
    private Long publishPlanId;

    @ApiModelProperty(value = "需求id，关联需求")
    private Long demandId;

    @ApiModelProperty("需求类型，1：项目，2：日常迭代，3：技改，4：快速需求，5：bugfix")
    private String demandType;

    @ApiModelProperty("需求前缀")
    private String prefixDemandBug;

    @ApiModelProperty("需求/缺陷名称")
    private String demandBugName;

    @ApiModelProperty("发布需求描述")
    private String demandPrdInfo;

    @ApiModelProperty("需求/缺陷地址")
    private String demandBugYunxiaoUrl;

    @ApiModelProperty("服务名称")
    private String serviceName;

    @ApiModelProperty("开发分支")
    private String gitBranch;

    @ApiModelProperty("负责人")
    private String mainDevelop;

    @ApiModelProperty("测试负责人")
    private String testDevelop;

    @ApiModelProperty("测试验收情况")
    private String testCheckStatus;

    @ApiModelProperty("发布状态")
    private String publishFlag;

    @ApiModelProperty("是否通知技术")
    private String researchInformFlag;

    @ApiModelProperty("是否通知业务")
    private String businessInformFlag;

    @ApiModelProperty("业务配置")
    private String businessConfigFlag;

    @ApiModelProperty("发布计划地址")
    private String publisPlanAddress;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("通知时间")
    private Date infoTime;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("发布计划截图")
    private String demandImg;

    @TableField(exist = false)
    private Date startTime;

    @TableField(exist = false)
    private Date endTime;

    @TableField(exist = false)
    private Integer pageSize;

    @TableField(exist = false)
    private Integer pageNum;

    @TableField(exist = false)
    @ApiModelProperty("产品")
    private String demandPd;
}
